package cn.nkjobsearch.config;

import java.text.SimpleDateFormat;
import java.util.Date;

public class ConfigChinaHR {
	/**
	 * ChinaHR职位分类的内部编号
	 * */
	public static final String CHINAHR_CATEGORY[] = { "100", "300", "400",
			"600", "604", "700", "702", "800", "900", "1200", "1700", "1900",
			"2000", "2100", "2500", "2700", "3300", "3400", "3420", "3500",
			"3600", "3800", "1013000", "1014000", "1016001", "1017000",
			"1020000", "1026000", "1033000", "1034000", "1035000", "1036000" };

	/**
	 * ChinaHR职位行业的内部编码
	 * */
	public static final String CHINAHR_INDUSTRY[] = { "100", "300", "400",
			"600", "700", "800", "900", "1000", "1100", "1200", "1300", "1400",
			"1500", "1600", "1700", "1800", "2000", "2100", "2200", "2300",
			"2400", "2600", "2800", "2900", "3100", "3200", "3600", "3700",
			"3900", "1105000", "1106000", "1113000", "1114000", "1115000",
			"1116000", "1118000", "1121000", "1122000", "1123000", "1124000" };

	/**
	 * ChinaHR省份的内部编码
	 * */
	public static final String CHINAHR_PROVINCE[] = { "30000", "31000",
			"32000", "33000", "1000", "2000", "3000", "4000", "5000", "6000",
			"7000", "8000", "9000", "10000", "11000", "12000", "13000",
			"14000", "15000", "16000", "17000", "18000", "19000", "20000",
			"21000", "22000", "23000", "24000", "25000", "26000", "27000",
			"34000", "35000", "36000" };

	/**
	 * 遍历ChinaHR搜索接口，省份的计数器
	 * */
	public static int CHINAHR_SEARCHLIST_P = 0;

	/**
	 * 遍历ChinaHR搜索接口，职位行业的计数器
	 * */
	public static int CHINAHR_SEARCHLIST_I = 0;

	/**
	 * 遍历ChinaHR搜索接口，职位分类的计数器
	 * */
	public static int CHINAHR_SEARCHLIST_C = 0;

	/**
	 * 遍历ChinaHR搜索接口，一个计时器
	 * */
	public static int CHINAHR_SEARCHLIST_TIMER = 0;

	/**
	 * 遍历ChinaHR搜索接口，每个页面允许的最大延时(秒)
	 * */
	public static final int CHINAHR_SEARCHLIST_DELAY_SECONDS = 10;

	/**
	 * ComChinaHRController是否应该退出的标志位
	 * */
	public static boolean CHINAHR_SEARCHLIST_RUNNING = true;

	/**
	 * 取ChinaHR内容页面的计时器
	 * */
	public static int CHINAHR_CONTENT_TIMER = 0;

	/**
	 * 取ChinaHR内容页面的每个页面允许的最大延时(秒)
	 * */
	public static final int CHINAHR_CONTENT_DELAY_SECONDS = 10;

	/**
	 * ComChinaHRController是否应该退出的标志位
	 * */
	public static boolean CHINAHR_CONTENT_RUNNING = true;

	/**
	 * 遍历ChinaHR搜索接口时，记录Province, Industry, Category的索引值
	 * */
	public final static String CHINAHR_SEARCHLIST_PIC_CONF_PATH = "conf/ChinaHR_PIC.conf";

	/**
	 * 遍历ChinaHR搜索接口时的Log文件的路径
	 * */
	public final static String CHINAHR_SEARCHLIST_LOG_PATH = "log/ChinaHRSearchListLog_"
			+ (new SimpleDateFormat("yyyy-MM-dd")).format(new Date()) + ".log";
}
